package com.wayne.security.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wayne.security.entity.Role;
import com.wayne.security.entity.User;

import java.util.List;

public interface UserMapper extends BaseMapper<User> {
    List<Role> getRolesByUid(Integer id);

    User loadUserByUsername(String username);
}